package com.z6school.manage.service;

import com.z6school.manage.common.pojo.CheckBox;
import com.z6school.manage.common.pojo.PageObject;
import com.z6school.manage.common.pojo.RoleMenuVo;
import com.z6school.manage.po.Role;

import java.util.List;

public interface RoleService {

    PageObject<Role> doFindObject(String name, int pageCurrent);

    int deleteObject(Integer id);

    int saveObject(Role entity,Integer[] menusId);

    RoleMenuVo findRoleMenuById(Integer id);

    int updateObject(Role role,Integer[] menuIds);

    List<CheckBox> findCheckBoxObjects();
}
